package com.yy.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by 野马 on 2019/6/11.
 * @MapperScan("com.yy.boot.dao") 扫苗dao包创建dao的代理对象
 */
@SpringBootApplication
@MapperScan("com.yy.boot.dao")
public class AppRun {
    public static void main(String[] args) {
        /**
         * 参数1  启动类的类对象
         * 参数2  主函数的形参名
         */
        SpringApplication.run(AppRun.class,args);

    }
}
